cmake_minimum_required(VERSION 3.22)

project(lwrb)

# 收集所有的.c源文件
file(GLOB LWRB_SOURCES "*.c")

# 创建INTERFACE库
add_library(lwrb INTERFACE)

# 设置源文件
target_sources(lwrb INTERFACE ${LWRB_SOURCES})

# 设置包含目录
target_include_directories(lwrb INTERFACE
    ${CMAKE_CURRENT_SOURCE_DIR}
)


